SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55184: Estimation fails with "ERROR: TKTException code = 6 (Access violation)..."

DetailsHotfixAboutRate It

In the SAS® Revenue Optimization Suite, estimation might fail with the following in the MerchIntelGridSvr.log file:

2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - ERROR: TKTException code = 6 (Access violation)
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #4  0x00007f318c6769cc in tkmi_exception_handler (thread=0x4eba, ctxt=0x7f3134bf8e9c, code=TKTE_UnknownException) at /sas/dev/mva-f4ro52/di/src/tkmi_exception.c:88
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #5  0x00007f319801d196 in bktExcept () from /sso/sfw/sas/930/SASFoundation/9.3/sasexe/tkmk.so
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #6  0x00007f319802019b in bkt_segv () from /sso/sfw/sas/930/SASFoundation/9.3/sasexe/tkmk.so
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #7  0x00007f319801d764 in bkt_signal_handler () from /sso/sfw/sas/930/SASFoundation/9.3/sasexe/tkmk.so
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #8  <signal handler called>
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #9  odf_service_process_like_item_share (odf_arg=0x3aa150, mg_est=0xcdaa98b0, pgs=0xd6c63dff) at /sas/dev/mva-f4ro52/di/src/odf_like_item.c:29
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #10 0x00007f318c6e8085 in odf_scoring_param_read (this=0x3aa150, pgs=0xcdaa98b0) at /sas/dev/mva-f4ro52/di/src/odf_scoring_param.c:92
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #11 0x00007f318c6e6ca4 in odf_elasticity_compute (this=0x3aa150, pgs=0xcdaa98b0) at /sas/dev/mva-f4ro52/di/src/odf_elasticity.c:156
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #12 0x00007f318c6f0c40 in odf_service_run_model_group (odf_arg=0x3aa150, pgs=0xcdaa9
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - 20150206:03.05.40.65: 8b0, like_for_new_item=0xd6c63dff, like_item_inactive=0x3de00006558, like_for_short_item=0x36b, like_store_inactive=0x7f311dd6e090, process_like=0, fill_default=0, status_filter=0) at /sas/dev/mva-f4ro52/di/src/odf_run_model_group.c:248
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #13 0x00007f318c6ee7ac in odf_service_process_like_store_inactive_share (odf_arg=0x3aa150, pgs=0xcdaa98b0, like_store_inactive=0xd6c63dff) at /sas/dev/mva-f4ro52/di/src/odf_like_store.c:137
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #14 0x00007f318c6f15ce in odf_service_run_model_group (odf_arg=0x3aa150, pgs=0xcdaa98b0, like_for_new_item=0xd6c63dff, like_item_inactive=0x3de00006558, like_for_short_item=0x36b, like_store_inactive=0x7f311dd6e090, process_like=1, fill_default=1, status_filter=1) at /sas/dev/mva-f4ro52/di/src/odf_run_model_group.c:171
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #15 0x00007f318c6ddc64 in odf_service_process (odf_arg=0x3aa150, gp_to_process=0xcdaa98b0, like_for_new_item=0xd6c63dff, like_item_inactive=0x3de00006558, like_for_short_item=0x36b, like_store_inactive=0x7f311dd6e090, process_like=1, fill_default=1) at /sas/dev/mva-f4ro52/di/
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - 20150206:03.05.40.65: src/odf_service.c:1237
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #16 0x00007f318c6dcd5a in odf_service_run_unit (context=0x3aa150) at /sas/dev/mva-f4ro52/di/src/odf_service.c:931
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #17 0x00007f318c662748 in logic_fn (ctxt=0x7f318c065600, req=0x7f30f1d1c580, thread=0x7f3183ab9410, cb=0x7f318d99ae68) at /sas/dev/mva-f4ro52/di/src/job_manager.c:1281
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #18 0x00007f318ea91d0b in basicPuddleMain () from /sso/sfw/sas/930/SASFoundation/9.3/sasexe/tkepdl.so
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #19 0x00007f319801b9a6 in sktMain () from /sso/sfw/sas/930/SASFoundation/9.3/sasexe/tkmk.so
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #20 0x00007f319801cffb in bktMain () from /sso/sfw/sas/930/SASFoundation/9.3/sasexe/tkmk.so
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #21 0x00000035f08079d1 in start_thread () from /lib64/libpthread.so.0
2015-02-06 03:05:42,965 [pool-5-thread-1] DEBUG - #22 0x00000035f00e8b6d in clone () from /lib64/libc.so.6

This estimation failure occurs for model groups where all of the following is true:

  • The model group has a SHARE demand model type.
  • There is at least one noncomparable store (class_cd=20) and the same product in the like store is inactive.
  • There is at least one new item (class_cd=13) with a like item defined or short item (class_cd=12) with a like item defined in the same model group.

This failure might also be generated during Model Analysis and Forecast Analysis runs.

The workaround for this issue is to change the value of the NON_COMP_STORE_PERIOD model specification to a smaller value to disable noncomparable store functionality for the model group that fails.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Markdown OptimizationMicrosoft® Windows® for x645.25.49.3 TS1M19.4 TS1M3
Linux for x645.25.49.3 TS1M19.4 TS1M3
SAS SystemSAS Promotion OptimizationMicrosoft® Windows® for x645.25.49.3 TS1M19.4 TS1M3
Linux for x645.25.49.3 TS1M19.4 TS1M3
SAS SystemSAS Retail ForecastingMicrosoft® Windows® for x645.25.49.3 TS1M19.4 TS1M3
Linux for x645.25.49.3 TS1M19.4 TS1M3
SAS SystemSAS Regular Price OptimizationMicrosoft® Windows® for x645.25.49.3 TS1M19.4 TS1M3
Linux for x645.25.49.3 TS1M19.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.